import request from '@/utils/request'

// 查询【请填写功能名称】列表
export function listRequirements(query) {
  return request({
    url: '/mark/requirements/list',
    method: 'get',
    params: query,
  })
}

// 查询【请填写功能名称】详细
export function getRequirements(requirementId) {
  return request({
    url: '/mark/requirements/' + requirementId,
    method: 'get',
  })
}

// 新增【请填写功能名称】
export function addRequirements(data) {
  return request({
    url: '/mark/requirements',
    method: 'post',
    data: data,
  })
}

// 修改【请填写功能名称】
export function updateRequirements(data) {
  return request({
    url: '/mark/requirements',
    method: 'put',
    data: data,
  })
}

// 删除【请填写功能名称】
export function delRequirements(requirementId) {
  return request({
    url: '/mark/requirements/' + requirementId,
    method: 'delete',
  })
}

// 导出【请填写功能名称】
export function exportRequirements(query) {
  return request({
    url: '/mark/requirements/export',
    method: 'get',
    params: query,
  })
}
